Remove gdkprivate.h
authorMatthias Clasen <mclasen@redhat.com>
Fri, 17 Nov 2017 05:34:04 +0000 (00:34 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Nov 2017 05:34:04 +0000 (00:34 -0500)
This is one-too-many private headers. Move the few
declarations here to gdkinternals.h.

18 files changed:
gdk/broadway/gdkprivate-broadway.h
gdk/broadway/gdkproperty-broadway.c
gdk/broadway/gdkselection-broadway.c
gdk/gdkcursor.c
gdk/gdkinternals.h
gdk/gdkprivate.h [deleted file]
gdk/gdkproperty.c
gdk/gdktexture.c
gdk/meson.build
gdk/quartz/gdkglobals-quartz.c
gdk/quartz/gdkprivate-quartz.h
gdk/quartz/gdkquartz.h
gdk/wayland/gdkprivate-wayland.h
gdk/wayland/gdkselection-wayland.c
gdk/win32/gdkprivate-win32.h
gdk/x11/gdkprivate-x11.h
gdk/x11/gdkproperty-x11.c
gdk/x11/gdkselection-x11.c

index 8a82d472f413ad0a1435f456de7c011734308018..30adbfe002cc1d94f8540b6ed40b58ea603b8d4f 100644 (file)
@@ -30,7 +30,6 @@
 #define __GDK_PRIVATE_BROADWAY_H__
 
 #include <gdk/gdkcursor.h>
-#include <gdk/gdkprivate.h>
 #include <gdk/gdkinternals.h>
 #include "gdkwindow-broadway.h"
 #include "gdkdisplay-broadway.h"
index 1ed277786c716a3eb18df98676ec48339f20de90..b60488b0eca160ce636638c4382c161981ed565c 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "gdkproperty.h"
 
-#include "gdkprivate.h"
 #include "gdkinternals.h"
 #include "gdkdisplay-broadway.h"
 #include "gdkprivate-broadway.h"
index b7a37bc7877cbc0c351b13461ad278de06f709ac..49548c8e70ffe3a5436cfcdf7240ba187893bda6 100644 (file)
@@ -27,7 +27,6 @@
 #include "gdkselection.h"
 
 #include "gdkproperty.h"
-#include "gdkprivate.h"
 #include "gdkprivate-broadway.h"
 #include "gdkdisplay-broadway.h"
 
index 63faa0e24cd2fcc747e50e20c1ceafe6c09dcb1f..6b50345c2592ee10c62d20f190db04aad45ab2fe 100644 (file)
@@ -29,6 +29,7 @@
 
 #include "gdkcursor.h"
 #include "gdkcursorprivate.h"
+#include "gdktexture.h"
 #include "gdkintl.h"
 #include "gdkinternals.h"
 
index 315bae811c74eac5ff17a7e89001ac011778effc..3a8f145921f29f4a980a950f9d38095307d90267 100644 (file)
 #define __GDK_INTERNALS_H__
 
 #include <gio/gio.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
 #include "gdkwindowimpl.h"
 #include "gdkdisplay.h"
-#include "gdkprivate.h"
 #include "gdkeventsprivate.h"
+#include "gdkenumtypes.h"
 
 G_BEGIN_DECLS
 
@@ -445,6 +446,14 @@ void _gdk_display_set_window_under_pointer (GdkDisplay *display,
 gboolean    _gdk_window_has_impl (GdkWindow *window);
 GdkWindow * _gdk_window_get_impl_window (GdkWindow *window);
 
+void gdk_window_destroy_notify       (GdkWindow *window);
+
+void gdk_synthesize_window_state (GdkWindow     *window,
+                                  GdkWindowState unset_flags,
+                                  GdkWindowState set_flags);
+
+const char * _gdk_atom_name_const (GdkAtom atom);
+
 G_END_DECLS
 
 #endif /* __GDK_INTERNALS_H__ */
diff --git a/gdk/gdkprivate.h b/gdk/gdkprivate.h
deleted file mode 100644 (file)
index b0121d2..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/* GDK - The GIMP Drawing Kit
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-/*
- * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
- * file for a list of people on the GTK+ Team.  See the ChangeLog
- * files for a list of changes.  These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
- */
-
-#ifndef __GDK_PRIVATE_H__
-#define __GDK_PRIVATE_H__
-
-#include <gdk/gdk.h>
-
-G_BEGIN_DECLS
-
-const char * _gdk_atom_name_const (GdkAtom atom);
-
-GDK_AVAILABLE_IN_ALL
-void gdk_window_destroy_notify      (GdkWindow *window);
-
-GDK_AVAILABLE_IN_ALL
-void gdk_synthesize_window_state (GdkWindow     *window,
-                                  GdkWindowState unset_flags,
-                                  GdkWindowState set_flags);
-
-G_END_DECLS
-
-#endif /* __GDK_PRIVATE_H__ */
index fa8df1a2a22a1e25831e8286475226a71379781d..8405828ac363c0dfa138cb202483fdab94a9edda 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "gdkproperty.h"
 
-#include "gdkprivate.h"
+#include "gdkinternals.h"
 
 /**
  * SECTION:properties
index e4fa9bb27210cedf328a8c6fae79de859a9a9953..a7250d11630cd120e5b8963ecd59fd8fceb82969 100644 (file)
@@ -37,6 +37,7 @@
 #include "gdktextureprivate.h"
 
 #include "gdkinternals.h"
+#include "gdkcairo.h"
 
 /**
  * GdkTexture:
index 5acc5825b98b2375e3cd3f372a06523dbd71d337..a0d3aa18689f452a3ae144a24ed288a8c102121b 100644 (file)
@@ -61,7 +61,6 @@ gdk_public_headers = files([
   'gdkmonitor.h',
   'gdkpango.h',
   'gdkpixbuf.h',
-  'gdkprivate.h',
   'gdkproperty.h',
   'gdkrectangle.h',
   'gdkrgba.h',
@@ -82,7 +81,6 @@ gdk_private_h_sources = files([
   'gdkdevicetoolprivate.h',
   'gdkdrawingcontextprivate.h',
   'gdkmonitorprivate.h',
-  'gdkprivate.h',
   'gdkseatdefaultprivate.h',
 ])
 
index efcf73c3911bb4959edb452215d4f07f7defaac8..a2b5fbdd43e8de7b9e494e9640a85a5fcc457ce6 100644 (file)
@@ -18,7 +18,6 @@
 
 #include "config.h"
 #include "gdktypes.h"
-#include "gdkprivate.h"
 #include "gdkquartz.h"
 
 GdkDisplay *_gdk_display = NULL;
index b6a6999156cef3ad14cb3627f40fc31af0bb62eb..6f60698c80c4b84141873d708a434aa3e247f00b 100644 (file)
@@ -22,7 +22,6 @@
 #define GDK_QUARTZ_ALLOC_POOL NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]
 #define GDK_QUARTZ_RELEASE_POOL [pool release]
 
-#include <gdk/gdkprivate.h>
 #include <gdk/quartz/gdkquartz.h>
 #include <gdk/quartz/gdkdevicemanager-core-quartz.h>
 #include <gdk/quartz/gdkdnd-quartz.h>
index 2b2daa9a94b38ddc3b768ef4d5f3a68803e7e6ef..49bb0763c0517c5ea635913da8410184bffd6835 100644 (file)
@@ -23,7 +23,6 @@
 #include <AppKit/AppKit.h>
 
 #include <gdk/gdk.h>
-#include <gdk/gdkprivate.h>
 
 G_BEGIN_DECLS
 
index 055597eb5c0513c6bc6af7035cae8b76f870ee17..48282fdabe8e03ae9fbf45931bdaeff70879502a 100644 (file)
@@ -30,7 +30,6 @@
 #define __GDK_PRIVATE_WAYLAND_H__
 
 #include <gdk/gdkcursor.h>
-#include <gdk/gdkprivate.h>
 #include <gdk/wayland/gdkwayland.h>
 #include <gdk/wayland/gdkdisplay-wayland.h>
 
index 9bb980f961122dcd24531a22836ea761b6341597..2d402fcb947906534e6df8216ca3b2b85043d613 100644 (file)
@@ -30,7 +30,6 @@
 #include "gdkdndprivate.h"
 #include "gdkselection.h"
 #include "gdkproperty.h"
-#include "gdkprivate.h"
 
 #include <string.h>
 
index fd9b67ee1d9ab0f53ed191181fa38791ef622c21..e8af1ed5f151937d21ea17cd5dc2f1abca6a3710 100644 (file)
@@ -34,7 +34,6 @@
 #define _WIN32_WINNT WINVER
 #endif
 
-#include <gdk/gdkprivate.h>
 #include <gdk/gdkcursorprivate.h>
 #include <gdk/win32/gdkwindow-win32.h>
 #include <gdk/win32/gdkwin32display.h>
index 0cc8d36dada17a5cc890c8a5edd0d37a06b62a66..8daad76d0c8922e528a69754a2c84d98730d4350 100644 (file)
@@ -30,7 +30,6 @@
 #define __GDK_PRIVATE_X11_H__
 
 #include "gdkcursor.h"
-#include "gdkprivate.h"
 #include "gdkinternals.h"
 #include "gdkx.h"
 #include "gdkwindow-x11.h"
index c0d53e792dd317fcb451f1592d2c797aafbdfe35..5528ada680c0e19066c3f2a5130133d70b26bab7 100644 (file)
@@ -25,7 +25,6 @@
 #include "config.h"
 
 #include "gdkproperty.h"
-#include "gdkprivate.h"
 #include "gdkinternals.h"
 #include "gdkselection.h"
 #include "gdkprivate-x11.h"
index ef4602bf1d73be280d93de76a710d77f68760b4e..77728814392adea46cd086243b2854d8a8bba31b 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "gdkselection.h"
 #include "gdkproperty.h"
-#include "gdkprivate.h"
 #include "gdkprivate-x11.h"
 #include "gdkdisplay-x11.h"